package com.iwayin.core.dao.loginwith;

import java.util.Map;

public interface LoginWithDAO {

	Long getQQMember(String openId);

	@SuppressWarnings("rawtypes")
	void updateQQMember(Map qqMember);

	@SuppressWarnings("rawtypes")
	void addQQMember(Map qqMember);

	Long getSinaMember(String uid);

	@SuppressWarnings("rawtypes")
	void updateSinaMember(Map sinaMember);

	@SuppressWarnings("rawtypes")
	void addSinaMember(Map sinaMember);

	Long getTbMember(String uid);

	@SuppressWarnings("rawtypes")
	void updateTbMember(Map tbMember);

	@SuppressWarnings("rawtypes")
	void addTbMember(Map tbMember);
	
	@SuppressWarnings("rawtypes")
	void addRenrenMember(Map rrMember);
	
	Long getRenrenMember(String rid);

	void updateRenrenMember(Map rrMember);
}